﻿using System.Collections.Generic;
using System.Xml.Serialization;

namespace Wasion.HHU.Models
{
    [XmlRoot("NewDataSet")]
    public class AllSchemaItems
    {
        private List<xMLSchemaItem> schemaItemList = new List<xMLSchemaItem>();
        [XmlElement(ElementName = "T_SchemaItem")]
        public List<xMLSchemaItem> SchemaItems
        {
            get { return schemaItemList; }
            set { schemaItemList = value; }
        }
    }
    public class xMLSchemaItem
    {
        public xMLSchemaItem() { }

        [XmlAttribute("ID")]
        public string ID { get; set; }
        [XmlAttribute("PID")]
        public string PID { get; set; }
        [XmlAttribute("ObAttrMthID")]
        public string ObAttrMthID { get; set; }
        [XmlAttribute("SchID")]
        public string SchID { get; set; }
        [XmlAttribute("DataValue")]
        public string DataValue { get; set; }
        [XmlAttribute("SNO")]
        public int SNO { get; set; }
        [XmlAttribute("RealValue")]
        public string RealValue { get; set; }
    }
}
